package demo1;

public class Test {
    public static void main(String[] args) {
        Dog dog1=new Dog();
        dog1.name="小狗";
        dog1.eat();
        dog1.bark();

        System.out.println("=========");

        Cat cat1=new Cat();
        cat1.name="小猫";
        cat1.eat();
        cat1.mimi();

    }
}
